package com.catemanagement.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import android.view.Menu;

public class Category implements Serializable {

	private static final long serialVersionUID = 8445941318346166531L;

	public Category() {

	}

	public Category(Long id, String name) {
		this.id = id;
		this.name = name;
	}

	private Long id;

	private String name;

	private int sort;

	private List<Menu> menuList = new ArrayList<Menu>();

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public List<Menu> getMenuList() {
		return menuList;
	}

	public void setMenuList(List<Menu> menuList) {
		this.menuList = menuList;
	}

}
